﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WL_Store.BLL;
using WL_Store.Model;

namespace WL_Store.Web.subpage
{
    public partial class Amounts : System.Web.UI.Page
    {
        AmountsBLL bll = new AmountsBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindAmountInfo();
            }
        }

        private void BindAmountInfo()
        {
          List<AmountsModel> list=   bll.GetAmounts();
            rpt_Amounts.DataSource = list;
            rpt_Amounts.DataBind();
        }

    }
}